package org.csu.xzypetstore.service;

import org.csu.xzypetstore.domain.Mylog;
import org.csu.xzypetstore.persistence.MylogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MylogService {

    @Autowired
    private MylogMapper mylogMapper;


    public List<Mylog> getMylogList(String username) { return mylogMapper.getMylogList(username); }

    public Mylog getMylog(String username) { return mylogMapper.getMylog(username); }

}
